package com.itheima.test1;

public class Test1Innerclass {
    public static void main(String[] args) {

        Outer.Inner i = new Outer().new Inner();
        System.out.println(i.num);
        i.show();
    }
}

class Outer{
    private int a = 20;
    class Inner{
        int num = 10;
        public void show(){
            System.out.println("Inner...show");
            System.out.println(a);
        }
    }
}
